package com.dotflat.staffExtend.service.impl;


import com.dotflat.rest.service.impl.AreableObjectBaseServiceImpl;
import com.dotflat.staffExtend.domain.StaffExtendHealthy;
import com.dotflat.staffExtend.repository.StaffExtendHealthyRepository;
import com.dotflat.staffExtend.service.StaffExtendHealthyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StaffExtendHealthyServiceImpl extends AreableObjectBaseServiceImpl<StaffExtendHealthy, StaffExtendHealthyRepository>
        implements StaffExtendHealthyService {

    @Autowired
    @Override
    public void setBaseRepository(StaffExtendHealthyRepository repository){
        super.setBaseRepository(repository);
    }

    @Override
    public void deleteAllByExtendInfoId(String extendInfoId){
        baseRepository.deleteAllByExtendInfoId(extendInfoId);
    }

}
